package jaxb.cow;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlRootElement;

/**
 * <p>用于读取Excel映射文件的Bean</p>
 * <p>细节描述</p>
 * @author shenjunjie
 * @see [相关类/方法]
 * @date [2014-6-24]
 * @version 1.0
 */
@XmlRootElement(name = "unit")
@XmlAccessorType(value = XmlAccessType.FIELD)
public class ExcelMappingUnit
{
    /**单元格横坐标(字母)*/
    private String cellX;
    
    /**解析之后的数字横坐标**/
    private Integer cellXInt;
    
    /**单元格纵坐标*/
    private Integer cellY;
    
    /**单元格坐标(横加纵)*/
    private String cellXY;
    
    private String expression;
    
    private String field;
    
    public String getCellX()
    {
        return cellX;
    }
    
    public void setCellX(String cellX)
    {
        this.cellX = cellX;
    }
    
    public Integer getCellY()
    {
        return cellY;
    }
    
    public void setCellY(Integer cellY)
    {
        this.cellY = cellY;
    }
    
    public String getField()
    {
        return field;
    }
    
    public void setField(String field)
    {
        this.field = field;
    }
    
    public String getCellXY()
    {
        return cellXY;
    }
    
    public void setCellXY(String cellXY)
    {
        this.cellXY = cellXY;
    }
    
    public String getExpression()
    {
        return expression;
    }
    
    public void setExpression(String expression)
    {
        this.expression = expression;
    }
    
    public Integer getCellXInt()
    {
        return cellXInt;
    }
    
    public void setCellXInt(Integer cellXInt)
    {
        this.cellXInt = cellXInt;
    }
}
